const themaps = [
  {
    path: "/themap", name: "themap", component: () => import(/* webpackChunkName: "themap" */ "@/views/themap/index.vue"),
    meta: { title: "地图系列" },
    redirect: '/themap/one',
    children: [
      // 自己写的绘图
      {
        path: "one", name: "themapOne", component: () => import(/* webpackChunkName: "themapOne" */ "@/views/themap/one-map/index.vue"),
        meta: { title: "基础地图" },
        children: []
      },
      // 用leaflet-draw插件绘图
      {
        path: "two", name: "themapTwo", component: () => import(/* webpackChunkName: "themapTwo" */ "@/views/themap/one-map-two/index.vue"),
        meta: { title: "插件1画线面" },
        children: []
      },
      // 用Leaflet.Editable插件绘图
      {
        path: "three", name: "themapThree", component: () => import(/* webpackChunkName: "themapThree" */ "@/views/themap/one-map-three/index.vue"),
        meta: { title: "插件2画线面加分割" },
        children: []
      },
      {
        path: "four", name: "themapFour", component: () => import(/* webpackChunkName: "themapFour" */ "@/views/themap/one-map-four/index.vue"),
        meta: { title: "图斑分组" },
        children: []
      },
      {
        path: "five", name: "themapFive", component: () => import(/* webpackChunkName: "themapFive" */ "@/views/themap/one-map-five/index.vue"),
        meta: { title: "三维球加popup" },
        children: []
      },
      {
        path: "six", name: "themapSix", component: () => import(/* webpackChunkName: "themapSix" */ "@/views/themap/one-map-six/index.vue"),
        meta: { title: "三维球加popup2" },
        children: []
      },
    ]
  }
]

export default themaps;
